﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace PDX.ChangeTracking
{
    public class Change
    {
        public Change(IPropertyModel propertyModel, Editor editor, object oldValue, object newValue, IInputElement focusedElement)
        {
            this.PropertyModel = propertyModel;
            this.Editor = editor;
            this.OldValue = oldValue;
            this.NewValue = newValue;
            this.FocusedElement = focusedElement;
        }

        public IPropertyModel PropertyModel { get; set; }
        public Editor Editor { get; set; }
        public object OldValue { get; set; }
        public object NewValue { get; set; }
        public IInputElement FocusedElement { get; set; }
    }
}
